﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Mao.Core;
using Mao.Forms;
using Mao.Core.Player;

namespace Mao
{
	public partial class frmMain : Form
	{
		private bool ActivatedSetup = false;

		public frmMain()
		{
			InitializeComponent();
		}

		private void StartSetup()
		{
			this.ActivatedSetup = true;

			frmPrompt prompt = new frmPrompt("Input Name", "Please input a name.");
			prompt.ShowDialog();

			MaoGame.Initialize();
			Human player = new Human(prompt.Name);
			Computer cpu1 = new Computer("Computer #1");
			Computer cpu2 = new Computer("Computer #2");
			Computer cpu3 = new Computer("Computer #3");
		
		}

		private void RenderGame()
		{

		}

		private void frmMain_Activated(object sender, EventArgs e)
		{
			if( !ActivatedSetup )
				this.StartSetup();
		}



	}
}
